﻿<%@ WebHandler Language="C#" Class="CategoryEdit" %>

using System;
using System.Web;
using Wp.DAL;
using Wp.BLL;

public class CategoryEdit : IHttpHandler
{

    public void ProcessRequest(HttpContext context)
    {
        context.Response.ContentType = "text/plain";
        context.Response.Write("Hello World");
    }

    public bool IsReusable
    {
        get
        {
            return false;
        }
    }
    public int InsertCategory(string name, string slug, int parent, string des)
    {
        return 1;
    }

}